#include <ptgui/ptgui.h>
#include <ptgui/color.h>
#include <ptgui/driver.h>

struct ptgui_graphic_driver * ptgui_graphic_driver_get_default()
{
	return &_ptgui_scr_driver;
}

void ptgui_graphic_driver_get_default_rect(ptgui_rect_t *rect)
{
	struct ptgui_graphic_driver *driver;

	driver = ptgui_graphic_driver_get_default();
	if (rect == NULL || driver == NULL) {
		return;
	}

	rect->x1 = rect->y1 = 0;
	rect->x2 = driver->width;
	rect->y2 = driver->height;
}

struct ptgui_keyboard_driver * ptgui_keyboard_driver_get_default()
{
	return NULL;
}

struct ptgui_mouse_driver * ptgui_mouse_driver_get_default()
{
	return NULL;
}
